<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="box">
			
		</div>
		<img src="image/1.jpg" >
		<script type="text/javascript">
			window.onload = function () {
				alert(1);
			}
			
			var aaa = document.getElementById("box");
			console.log(aaa);
			aaa.style.width = "100px";
		</script>
	
	</body>
</html>
